#region Summary 

// 
// Owner : JackieHan 
// 
// Solution : LearnSolution 
// 
// Project : JackieHan.Popedom.HttpHandler 
// 
// File : CustomerHttpHandler.cs 
// 
// CopyRight : Copyright © 2009-2010 JackieHan Personal, All Rights Reserved 
// 
// Summary : 自定义的HttpHandle 
// 
// History : 
//			2010-05-18 16:42:09	    Create 
// 

#endregion

#region Using 

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.SessionState;

#endregion

namespace JackieHan.Popedom.HttpHandler
{
    /// <summary> 
    /// 自定义的HttpHandle 
    /// </summary> 
    public class CustomerHttpHandler:IHttpHandler,IRequiresSessionState
    {

        public bool IsReusable
        {
            get { return true; }
        }

        public void ProcessRequest(HttpContext context)
        {
            context.Response.Write("<h1>Hello My Customer HttpHandler</h1><br />");
            context.Session["Data"] = DateTime.Now;
            context.Response.Write(context.Session["Data"]);
            context.Response.Write("<a href='ShowSession.aspx'>点击</a>");
        }
    }
}  
